/*
 * Copyright (c) 2008-2021 浩瀚深度 All Rights Reserved.
 *
 * <p>FileName: SyslogMonitorService.java</p>
 *
 * @author zz
 * @date 2024/3/11
 * @version 1.0
 * History:
 * v1.0.0 2024/3/11 Create
 */
package com.monitor.service;

import com.monitor.entity.Syslog;
import com.monitor.entity.SyslogMonitor;

/**
 * <p>Title: SyslogMonitorService</p>
 * <p>Description: </p>
 *
 * @author zz
 */

public interface SyslogMonitorService {

    /**
     * 发送格式化消息
     *
     * @param msg 消息内容
     */
    void sendMsg(SyslogMonitor msg);
    /**
     * 发送自定义消息
     *
     * @param msg 消息内容
     */
    void sendSelfDefineMsg(SyslogMonitor msg);

    /**
     * 创建syslog
     *
     * @param msg 消息内容
     */
    void create(Syslog msg);

    /**
     * 创建syslog
     *
     * @param msg 消息内容
     */
    void deleteSyslog(Syslog msg);
}
